<?php
/**
 * @author     Thibaut Cromphaut, Gaïtano Boeraeve, Matthias Mercy
 * @copyright  Copyright (c) 2011 memorygame
 */
class Application_Model_Level extends Ahs_Model
{
    /**
     * @var integer
     */
    protected $_id;
    /**
     * @var string
     */
    protected $_name;
    
    /**
     * @var integer
     */
    protected $_time;
    
    /**
     * @var integer
     */
    protected $_numberofcards;
    
    /**
     * @var array
     */
    protected $_world;
    
     /**
     * @var integer
     */
    protected $_worldId;    
    /**
     * @var string
     */
    protected $_pictureUrl;
    
    /**
     * @var array
     */
    protected $_userScore;
    
     /**
     * @var integer
     */
    protected $_userTime;    
    /**
     * @var string
     */
    protected $_userTries;
    /**
     * @var boolean
     */
    protected $_userUnlocked;


    /**
     * @return integer
     */
    public function getId() {
        return $this->_id;
    }

    /**
     * @param integer $id
     */
    public function setId($id)
    {
        $this->_id = $id;
    }

    /**
     * @return string
     */
    public function getName()
    {
        return $this->_name;
    }

    /**
     * @param string $name
     */
    public function setName($name)
    {
        $this->_name = $name;
    }
    
    /**
     * @return string
     */
    public function getDescription()
    {
        return $this->_description;
    }

    /**
     * @param string $description
     */
    public function setDescription($description)
    {
        $this->_description = $description;
    }
    
    /**
     * @return integer
     */
    public function getTime()
    {
        return $this->_time;
    }

    /**
     * @param integer $time
     */
    public function setTime($time)
    {
        $this->_time = $time;
    }
    
    /**
     * @return integer
     */
    public function getNumberOfCards()
    {
        return $this->_numberofcards;
    }

    /**
     * @param integer $numberofcards
     */
    public function setNumberOfCards($numberofcards)
    {
        $this->_numberofcards = $numberofcards;
    }
    
    /**
     * @return string
     */
    public function getPictureUrl()
    {
        return $this->_pictureUrl;
    }

    /**
     * @param string $pictureUrl
     */
    public function setPictureUrl($pictureUrl)
    {
        $this->_pictureUrl = $pictureUrl;
    }
    
    /**
     * @return array
     */
    public function getWorld()
    {
        return $this->_world;
    }

    /**
     * @param Array $world
     */
    public function setWorld($world)
    {
        $this->_world = $world;
    }
    
    /**
     * @return integer
     */
    public function getWorldId() {
        return $this->_worldId;
    }

    /**
     * @param integer $worldId
     */
    public function setWorldId($worldId)
    {
        $this->_worldId = $worldId;
    }
    
    /**
     * @return integer
     */
    public function getUserScore() {
        return $this->_userScore;
    }

    /**
     * @param integer $userScore
     */
    public function setUserScore($userScore)
    {
        $this->_userScore = $userScore;
    }
    
    /**
     * @return integer
     */
    public function getUserTime() {
        return $this->_userTime;
    }

    /**
     * @param integer $userTime 
     */
    public function setUserTime($userTime)
    {
        $this->_userTime = $userTime;
    }
    
    /**
     * @return integer
     */
    public function getUserTries() {
        return $this->_userTries;
    }

    /**
     * @param integer $userTries
     */
    public function setUserTries($userTries)
    {
        $this->_userTries = $userTries;
    }
    
    /**
     * @return integer
     */
    public function getUserUnlocked() {
        return $this->_userUnlocked;
    }

    /**
     * @param integer $userUnlocked
     */
    public function setUserUnlocked($userUnlocked)
    {
        $this->_userUnlocked = $userUnlocked;
    }
    

}


